package com.cci.kangdao.escalation.service;

import com.cci.kangdao.dao.model.UserT;
import com.cci.kangdao.dto.PagedRequest;
import org.springframework.scheduling.annotation.Async;

import java.util.List;
import java.util.Map;

public interface EscalationNotifyService {

    @Async
    void notify(Long escalationId);

    Map<String,Object> getEscalationData(Long escalationId);

    List<UserT> getEngineers(Long escalationId);

    List<UserT> getTechnicians(Long escalationId);

    List<UserT> getStationMaster(Long escalationId);

    List<UserT> getExpert(Long escalationId);

     /**
      * @description: 查询主动升级工单对应的专家（其实是主动升级工单中的原因对应的专家）
      * @param:
      * @return:
      * @exception:
      * @author: shiliqiang
      * @company: CTY Technology Co.,Ltd
      * @since: 2022/1/19 10:19
      * @version: V1.0
      */
    List<UserT> getReasonTypeExpert(Long escalationId);

    void getNotifyOrderList(PagedRequest pagedRequest);

    void getNotifyList(Long orderId);

}
